<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css" media="screen">
body {
        font-family: verdana, arial, helvetica, sans-serif;
        font-size: 80%;
    }

    table {
        font-size: 100%;
    }

    pre {}
    /* -- heading ---------------------------------------------------------------------- */

    h1 {
        font-size: 16pt;
        color: gray;
    }

    .heading {
        margin-top: 0ex;
        margin-bottom: 1ex;
    }

    .heading .attribute {
        margin-top: 1ex;
        margin-bottom: 0;
    }

    .heading .description {
        margin-top: 4ex;
        margin-bottom: 6ex;
    }
    /* -- css div popup ------------------------------------------------------------------------ */

    a.popup_link {}

    a.popup_link:hover {
        color: red;
    }

    .popup_window {
        display: none;
        position: relative;
        left: 0px;
        top: 0px;
        /*border: solid #627173 1px; */
        padding: 10px;
        background-color: #E6E6D6;
        font-family: "Lucida Console", "Courier New", Courier, monospace;
        text-align: left;
        font-size: 8pt;
        width: 90%;
    }
}


/* -- report ------------------------------------------------------------------------ */
#show_detail_line {
    margin-top: 3ex;
    margin-bottom: 1ex;
}
#result_table {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #777;
}
#header_row {
    font-weight: bold;
    color: white;
    background-color: #777;
}
#result_table td {
    border: 1px solid #777;
    padding: 2px;
}
#total_row {
    font-weight: bold;
}
.passClass {
    background-color: #6c6;
}
.failClass {
    background-color: #c60;
}
.errorClass {
    background-color: #c00;
}
.passCase {
    color: #6c6;
}
.failCase {
    color: #c60;
    font-weight: bold;
}
.errorCase {
    color: #c00;
    font-weight: bold;
}
.hiddenRow {
    display: none;
}
.testcase {
    margin-left: 2em;
}




/* -- ending ---------------------------------------------------------------------- */
#ending {}
    </style>
</head>

<body>
    <script language="javascript" type="text/javascript">
    <!--
    output_list = Array();

    /* level - 0:Summary; 1:Failed; 2:All */
    function showCase(level) {
        trs = document.getElementsByTagName("tr");
        for (var i = 0; i < trs.length; i++) {
            tr = trs[i];
            id = tr.id;
            if (id.substr(0, 2) == 'ft') {
                if (level < 1) {
                    tr.className = 'hiddenRow';
                } else {
                    tr.className = '';
                }
            }
            if (id.substr(0, 2) == 'pt') {
                if (level > 1) {
                    tr.className = '';
                } else {
                    tr.className = 'hiddenRow';
                }
            }
        }
    }


    function showClassDetail(cid, count) {
        var id_list = Array(count);
        var toHide = 1;
        for (var i = 0; i < count; i++) {
            tid0 = 't' + cid.substr(1) + '.' + (i + 1);
            tid = 'f' + tid0;
            tr = document.getElementById(tid);
            if (!tr) {
                tid = 'p' + tid0;
                tr = document.getElementById(tid);
            }
            id_list[i] = tid;
            if (tr.className) {
                toHide = 0;
            }
        }
        for (var i = 0; i < count; i++) {
            tid = id_list[i];
            if (toHide) {
                document.getElementById('div_' + tid).style.display = 'none'
                document.getElementById(tid).className = 'hiddenRow';
            } else {
                document.getElementById(tid).className = '';
            }
        }
    }


    function showTestDetail(div_id) {
        var details_div = document.getElementById(div_id)
        var displayState = details_div.style.display
        // alert(displayState)
        if (displayState != 'block') {
            displayState = 'block'
            details_div.style.display = 'block'
        } else {
            details_div.style.display = 'none'
        }
    }


    function html_escape(s) {
        s = s.replace(/&/g, '&amp;');
        s = s.replace(/</g, '&lt;');
        s = s.replace(/>/g, '&gt;');
        return s;
    }

    /* obsoleted by detail in <div>
    function showOutput(id, name) {
        var w = window.open("", //url
                        name,
                        "resizable,scrollbars,status,width=800,height=450");
        d = w.document;
        d.write("<pre>");
        d.write(html_escape(output_list[id]));
        d.write("\n");
        d.write("<a href='javascript:window.close()'>close</a>\n");
        d.write("</pre>\n");
        d.close();
    }
    */
    -->
    </script>
    <div class='heading'>
        <h1>Unit Test Report</h1>
        <p class='attribute'><strong>Start Time:</strong> 2017-09-12 19:21:47</p>
        <p class='attribute'><strong>Duration:</strong> 0:01:31.911671</p>
        <p class='attribute'><strong>Status:</strong> Error 8</p>
        <p class='description'></p>
    </div>
    <p id='show_detail_line'>Show
        <a href='javascript:showCase(0)'>Summary</a>
        <a href='javascript:showCase(1)'>Failed</a>
        <a href='javascript:showCase(2)'>All</a>
    </p>
    <table id='result_table'>
        <colgroup>
            <col align='left' />
            <col align='right' />
            <col align='right' />
            <col align='right' />
            <col align='right' />
            <col align='right' />
            <col align='right' />
        </colgroup>
        <tr id='header_row'>
            <td>Test Group/Test case</td>
            <td>Count</td>
            <td>Pass</td>
            <td>Fail</td>
            <td>Error</td>
            <td>Skip</td>
            <td>View</td>
        </tr>
        <tr class='errorClass'>
            <td>nose.case.MethodTestCase: Test case wrapper for test methods.</td>
            <td>8</td>
            <td>0</td>
            <td>0</td>
            <td>8</td>
            <td>0</td>
            <td><a href="javascript:showClassDetail('c1',8)">Detail</a></td>
        </tr>
        <tr id='ft1.1' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_1_case: case1:不输入账号和密码,点击获取验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.1')">
        error</a>
                <div id='div_ft1.1' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.1').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.1: case1:不输入账号和密码,点击获取验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 256, in execute
    self.error_handler.check_response(response)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 194, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET



        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.2' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_2_case: case:2输入低于11位手机号码，点击获取验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.2')">
        error</a>
                <div id='div_ft1.2' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.2').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.2: case:2输入低于11位手机号码，点击获取验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 600, in run
    testMethod()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 198, in runTest
    self.test(*self.arg)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 59, in test_2_case
    startMethod.action_Id(self, usId, str(int(titleMethod.duQu_Excel(self, 2, 2))))
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\fengfan_method.py", line 41, in action_Id
    return self.driver.find_element_by_id(id).set_text(text)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webelement.py", line 126, in set_text
    self._execute(Command.REPLACE_KEYS, data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webelement.py", line 493, in _execute
    return self._parent.execute(command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.3' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_2_case: case:2输入低于11位手机号码，点击获取验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.3')">
        error</a>
                <div id='div_ft1.3' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.3').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.3: case:2输入低于11位手机号码，点击获取验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 603, in run
    self.tearDown()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 385, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 40, in tearDown
    start_App.tearDown(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 26, in tearDown
    self.driver.quit()
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 551, in quit
    self.execute(Command.QUIT)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.4' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_3_case: case3:验证账号低于11位，输入错误验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.4')">
        error</a>
                <div id='div_ft1.4' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.4').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.4: case3:验证账号低于11位，输入错误验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.5' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_4_case: case4:验证输入账号大于11位，点击获取验证码，并完成输入点击登录</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.5')">
        error</a>
                <div id='div_ft1.5' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.5').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.5: case4:验证输入账号大于11位，点击获取验证码，并完成输入点击登录Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.6' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_5_case: case5:验证输入大于11位验证码，输入错误验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.6')">
        error</a>
                <div id='div_ft1.6' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.6').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.6: case5:验证输入大于11位验证码，输入错误验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.7' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_6_case: case6:验证输入字符串*-x等特俗符号，以及错误验证码点击登录</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.7')">
        error</a>
                <div id='div_ft1.7' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.7').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.7: case6:验证输入字符串*-x等特俗符号，以及错误验证码点击登录Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='ft1.8' class='none'>
            <td class='errorCase'>
                <div class='testcase'>test_7_case: 连续点击获取验证码，判断是否发送两次验证码</div>
            </td>
            <td colspan='6' align='center'>
                <!--css div popup start-->
                <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.8')">
        error</a>
                <div id='div_ft1.8' class="popup_window">
                    <div style='text-align: right; color:red;cursor:pointer'>
                        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.8').style.display = 'none' ">
           [x]</a>
                    </div>
                    <pre>
        
ft1.8: 连续点击获取验证码，判断是否发送两次验证码Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1151, in _send_request
    self.endheaders(body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 934, in _send_output
    self.send(msg)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 877, in send
    self.connect()
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 711, in create_connection
    raise err
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 58, in testPartExecutor
    yield
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\unittest\case.py", line 596, in run
    self.setUp()
  File "C:\Users\feng\untitled\lib\site-packages\nose\case.py", line 382, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "C:\Users\feng\untitled\lib\site-packages\nose\util.py", line 471, in try_run
    return func()
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\test_fengcase.py", line 38, in setUp
    start_App.setUp(self)
  File "C:\Users\feng\Desktop\python01\fengfan_src\test_fengfan\startApp.py", line 22, in setUp
    self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
  File "C:\Users\feng\untitled\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in execute
    response = self.command_executor.execute(driver_command, params)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 464, in execute
    return self._request(command_info[0], url, body=data)
  File "C:\Users\feng\untitled\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 526, in _request
    resp = opener.open(request, timeout=self._timeout)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 466, in open
    response = self._open(req, data)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 484, in _open
    '_open', req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 444, in _call_chain
    result = func(*args)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\feng\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: &lt;urlopen error [WinError 10061] 由于目标计算机积极拒绝，无法连接。&gt;


        </pre>
                </div>
                <!--css div popup end-->
            </td>
        </tr>
        <tr id='total_row'>
            <td>Total</td>
            <td>8</td>
            <td>0</td>
            <td>0</td>
            <td>8</td>
            <td>0</td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <div id='ending'>&nbsp;</div>
</body>

</html>